package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 月度形象图详情对象 monthly_image_detail
 * 
 * @author liboyu
 * @date 2024-06-04
 */
public class MonthlyImageDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 月度形象图详情主键 */
    private Long imageDetailId;

    /** 月度形象图主键 */
    @Excel(name = "月度形象图主键")
    private Long imageId;

    /** 图片 */
    @NotBlank(message = "图片不能为空")
    @Excel(name = "图片")
    private String imageDetailPic;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date imageDetailDate;

    public void setImageDetailId(Long imageDetailId) 
    {
        this.imageDetailId = imageDetailId;
    }

    public Long getImageDetailId() 
    {
        return imageDetailId;
    }
    public void setImageId(Long imageId) 
    {
        this.imageId = imageId;
    }

    public Long getImageId() 
    {
        return imageId;
    }
    public void setImageDetailPic(String imageDetailPic) 
    {
        this.imageDetailPic = imageDetailPic;
    }

    public String getImageDetailPic() 
    {
        return imageDetailPic;
    }
    public void setImageDetailDate(Date imageDetailDate) 
    {
        this.imageDetailDate = imageDetailDate;
    }

    public Date getImageDetailDate() 
    {
        return imageDetailDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imageDetailId", getImageDetailId())
            .append("imageId", getImageId())
            .append("imageDetailPic", getImageDetailPic())
            .append("imageDetailDate", getImageDetailDate())
            .toString();
    }
}
